hasOpacity

abstract fun hasOpacity(block: DesignBlock): Boolean

Deprecated

Use supportsOpacity instead.

Replace with

this.supportsOpacity(block)

Query if the given block has an opacity.

Return

true if the block has an opacity, false otherwise.

Parameters

block

the block to query.